Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix text decoration not cascading between children and parent #614

Merged

Conversation

tneotia
Copy link
Collaborator

@tneotia tneotia commented Apr 9, 2021

Fixes #594

Technically text-decoration isn't inherited, but it visually functions that way - the parent text decoration will draw on the box containing the child.

@erickok
Copy link
Collaborator

erickok commented Apr 9, 2021

Do you have an example html/style that has the problem that you solved? I have a hard time visualizing it.

@tneotia
Copy link
Collaborator Author

tneotia commented Apr 9, 2021

You can see it in #594, basically nesting the <s> and <u> tags:

<s><u>test<u/><s/>

@erickok erickok merged commit 4d75e7c into Sub6Resources:master Apr 9, 2021
@erickok
Copy link
Collaborator

erickok commented Apr 9, 2021

Ah I think you mean #594. Nice fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tag <s> and <u> does not work together
2 participants